Skip to content

test: start embedded Radicale on a free port - #54

Merged
tobixen merged 1 commit into
mainfrom
fix/radicale-free-port
Nov 12, 2026
Merged

tobixen merged 1 commit into
mainfrom
fix/radicale-free-port

Conversation

@tobixen

@tobixen tobixen commented Nov 12, 2026

Copy link
Copy Markdown
Member

Commit message:

test: start embedded Radicale on a free port

Under plain pytest -n 8 several workers each started Radicale on 5232,
and one worker's stop() took down the server another was using.  The
xdist_group workaround only helped with --dist loadgroup.  caldav 3.7,
already the minimum, honours the port and closes what stop() used to
leak, so the workarounds go.

Prompt: [pick from the task list: "calendaring: embedded Radicale fails to start under pytest -n 8"]

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>

@tobixen tobixen added the skip-changelog No changelog fragment needed label Nov 12, 2026
Under plain pytest -n 8 several workers each started Radicale on 5232,
and one worker's stop() took down the server another was using.  The
xdist_group workaround only helped with --dist loadgroup.  caldav 3.7,
already the minimum, honours the port and closes what stop() used to
leak, so the workarounds go.

Prompt: [pick from the task list: "calendaring: embedded Radicale fails to start under pytest -n 8"]

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen force-pushed the fix/radicale-free-port branch from 0fdbb97 to ca4b326 Compare November 12, 2026 14:58
@tobixen
tobixen merged commit 29cff31 into main Nov 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog No changelog fragment needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant